package cn.wolfcode.p2p.base.query;

import cn.wolfcode.p2p.util.StringUtil;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class IpLogQueryObject extends DateQueryObject {
    //用户名
    private String username;

    //类型
    private Integer userType = -1;

    //去空
    public String getUsername() {
        return StringUtil.emptyString(username) ? username : null;
    }
}
